package service

import (
	"context"
	"gitee.com/huanfion/urlshortener/db"
	_ "gitee.com/huanfion/urlshortener/db"
	"gitee.com/huanfion/urlshortener/internal/models/dto"
)

type UrlService struct {
}

func (s *UrlService) CreateUrl(ctx context.Context, url *dto.CreateUrlRequest) {
	//插入数据

	db.SqlSession.Create(url)
}
